<?php

$database_conn_clients = "";

if ($_SERVER['DOCUMENT_ROOT'] == '/Users/mikefarmer/Sites/testingbiz/') {	
	$hostname_conn_clients = "localhost:8889";
	$database_conn_clients = "car_db";
	$username_conn_clients = "car_db";
	$password_conn_clients = "password";
} else {
	// Eventually the production server settings will go here.
	$hostname_conn_clients = "p50mysql279.secureserver.net";
	$database_conn_clients = "car_db_greenauto";
	$username_conn_clients = "car_db_greenauto";
	$password_conn_clients = "E7xxxxxxx";	
}

$db_name = $database_conn_clients;
$db = mysql_pconnect($hostname_conn_clients, $username_conn_clients, $password_conn_clients) or mysql_error();
// or trigger_error(mysql_error(),E_USER_ERROR); 

?>